<div class="panel-heading">角色与许可列表</div>
<#if rolePermissionPagination.totalSize < 1>
<div class="alert alert-danger">无数据....</div>
<#else>

<table class="table table-striped table-bordered table-hover table-condensed table-responsive">
	<thead>
		<tr>
			<th width="24px"><input type="checkbox" name="checkboxIds" title="全选"></th>
			<th>序号</th>
			<th>许可类别</th>
			<th>许可</th>
			<th>角色</th>
			<th class="c1-operation">操作</th>
		</tr>
	</thead>
	<tbody>
		<#list rolePermissionPagination.dataList as rolePermission>
		<tr rolePermissionId="${rolePermission.id!}">
			<td><input type="checkbox" name="id" value="${rolePermission.id}"></td>
			<td>${rolePermission_index+1}</td>
			<td>${rolePermission.permissionTypeName!}<#if rolePermission.permissionTypeCode??>(${rolePermission.permissionTypeCode!})</#if></td>
			<td>${rolePermission.permissionName!}<#if rolePermission.permissionCode??>(${rolePermission.permissionCode!})</#if></td>
			<td>${rolePermission.roleName!}<#if rolePermission.roleCode??>(${rolePermission.roleCode!})</#if></td>
			<td><div class="btn-group">
					<button class="btn btn-primary btn-xs c1-operation-edit" type="button">编辑</button>
					<button class="btn btn-xs c1-operation-delete-row" type="button">删除</button>
				</div></td>
		</tr>
		</#list>
	</tbody>
</table>
<ul class="pagination pull-right"><@cardone.pagination pagination=rolePermissionPagination />
</ul>
</#if>
